package com.tech.platform.cms.gateway.bean.nacos;

import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import org.springframework.cloud.gateway.filter.FilterDefinition;
import org.springframework.cloud.gateway.handler.predicate.PredicateDefinition;

import java.io.Serializable;
import java.util.List;

/**
 * @author shengqiang.wu
 * @date 2020/1/18/018 11:07
 * @desc
 */
@Data
public class RouteEntity implements Serializable{

    private String id;

    private String uri;

    private List<PredicateEntity> predicates;

    private List<FilterEntity> filters;
}
